package com.machinetest.entity;

import java.util.List;

public class Staff {
  /** 员工编号 */
  private Integer code;
  /** 姓名 */
  private String name;
  /** 职位 */
  private String postion;
  /** 上司的员工编号 */
  private Integer superior_code;
  /** 团队员工数组 */
  private List<Staff> team;

    @Override
    public String toString() {
        return "Staff{" +
                "code=" + code +
                ", name='" + name + '\'' +
                ", postion='" + postion + '\'' +
                ", superior_code=" + superior_code +
                ", team=" + team +
                '}';
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPostion() {
        return postion;
    }

    public void setPostion(String postion) {
        this.postion = postion;
    }

    public Integer getSuperior_code() {
        return superior_code;
    }

    public void setSuperior_code(Integer superior_code) {
        this.superior_code = superior_code;
    }

    public List<Staff> getTeam() {
        return team;
    }

    public void setTeam(List<Staff> team) {
        this.team = team;
    }
}
